home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hplip / ui4 / printsettingsdialog_base.py < prev    next >
Encoding:
Python Source  |  2009-04-14  |  2.8 KB  |  67 lines

  1. # -*- coding: utf-8 -*-
  2.  
  3. # Form implementation generated from reading ui file 'ui4/printsettingsdialog_base.ui'
  4. #
  5. # Created: Tue Feb 17 11:36:14 2009
  6. #      by: PyQt4 UI code generator 4.3.3
  7. #
  8. # WARNING! All changes made in this file will be lost!
  9.  
  10. from PyQt4 import QtCore, QtGui
  11.  
  12. class Ui_Dialog(object):
  13.     def setupUi(self, Dialog):
  14.         Dialog.setObjectName("Dialog")
  15.         Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
  16.         Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,700,500).size()).expandedTo(Dialog.minimumSizeHint()))
  17.  
  18.         self.gridlayout = QtGui.QGridLayout(Dialog)
  19.         self.gridlayout.setObjectName("gridlayout")
  20.  
  21.         self.TitleLabel = QtGui.QLabel(Dialog)
  22.  
  23.         font = QtGui.QFont()
  24.         font.setPointSize(16)
  25.         self.TitleLabel.setFont(font)
  26.         self.TitleLabel.setObjectName("TitleLabel")
  27.         self.gridlayout.addWidget(self.TitleLabel,0,0,1,1)
  28.  
  29.         self.line = QtGui.QFrame(Dialog)
  30.         self.line.setFrameShape(QtGui.QFrame.HLine)
  31.         self.line.setFrameShadow(QtGui.QFrame.Sunken)
  32.         self.line.setObjectName("line")
  33.         self.gridlayout.addWidget(self.line,1,0,1,2)
  34.  
  35.         self.PrinterName = PrinterNameComboBox(Dialog)
  36.         self.PrinterName.setObjectName("PrinterName")
  37.         self.gridlayout.addWidget(self.PrinterName,2,0,1,2)
  38.  
  39.         self.OptionsToolBox = PrintSettingsToolbox(Dialog)
  40.  
  41.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
  42.         sizePolicy.setHorizontalStretch(0)
  43.         sizePolicy.setVerticalStretch(0)
  44.         sizePolicy.setHeightForWidth(self.OptionsToolBox.sizePolicy().hasHeightForWidth())
  45.         self.OptionsToolBox.setSizePolicy(sizePolicy)
  46.         self.OptionsToolBox.setObjectName("OptionsToolBox")
  47.         self.gridlayout.addWidget(self.OptionsToolBox,3,0,1,2)
  48.  
  49.         spacerItem = QtGui.QSpacerItem(461,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
  50.         self.gridlayout.addItem(spacerItem,4,0,1,1)
  51.  
  52.         self.CloseButton = QtGui.QPushButton(Dialog)
  53.         self.CloseButton.setObjectName("CloseButton")
  54.         self.gridlayout.addWidget(self.CloseButton,4,1,1,1)
  55.  
  56.         self.retranslateUi(Dialog)
  57.         self.OptionsToolBox.setCurrentIndex(-1)
  58.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  59.  
  60.     def retranslateUi(self, Dialog):
  61.         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Print Settings", None, QtGui.QApplication.UnicodeUTF8))
  62.         self.TitleLabel.setText(QtGui.QApplication.translate("Dialog", "Print Settings", None, QtGui.QApplication.UnicodeUTF8))
  63.         self.CloseButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
  64.  
  65. from printsettingstoolbox import PrintSettingsToolbox
  66. from printernamecombobox import PrinterNameComboBox
  67.